Work Queue Sort Registry entry

Specifies a sort order for a work queue.

Description

A work queue is a set of records that require processing (unprocessed sales for example); the Vitalware system manages the queue, allocating each unprocessed record in turn to the next available operator. A work queue is accessed from the Process>Work Queue sub menu.

By default, a work queue is processed as first in first out (FIFO). This entry allows the processing of the queue to be defined by a sort order. If a sort entry is not found for the queue, it is processed as a FIFO.

Usage

This Registry entry can be assigned to users and groups:

Key User Group Group
Key 1 User Group Group
Key 2 user group Default
Key 3 Table
Key 4 table
Key 5 Work Queue Sort
Key 6 Queue name  
Value Sort order

where:

Queue name

is a work queue named in a Work Queue Registry entry.

Sort order

is the sort order which will apply to the work queue named in Key 6. The format for Sort order is:

xcolumn;xcolumn;...

where the value for x is either + or - indicating an ascending or descending ordered sort respectively; column is the name of a back-end field.

See Sort Registry entry for more details.

Example

In this example the work queue is for web orders. When a record is inserted via the web its associated fee is added to the shopping cart, which is later checked out. This entry specifies that the processing order for these web records is based on the time they were paid for (i.e. updated / modified to reflect payment) rather than the time they were inserted:

Key Setting
Key 1 Group
Key 2 Default
Key 3 Table
Key 4 ttnamereservations
Key 5 Work Queue Sort
Key 6 Check Request
Value +AdmDateModified;+AdmTimeModified

Related Topics Link IconAll T&T Registry entries